<!DOCTYPE html>
<%@page contentType="text/html;charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="/tld/navigator.tld" prefix="navigator" %>
<%@taglib uri="/tld/pagination.tld" prefix="page" %>

<%--<div class="pageheader">
    <h2>行业类别排序</h2>

    <div class="breadcrumb-wrapper">
        <span class="left color-999 font13">您当前的位置：</span>
        <ol class="breadcrumb left">
            <li>参数管理</li>
            <li>行业类别排序</li>
        </ol>
    </div>
</div>--%>
<navigator:navigator url="industryCategory/query.htm"/>

<div class="contentpanel">

    <div class="panel panel-default">
        <form>

            <input type="hidden" name="start" value="${query.start}">
            <input type="hidden" name="length" value="${query.length}">
            <input type="hidden" name="showType" value="${query.showType}">
            <input type="hidden" name="sortField" value="${query.sortField}">
            <input type="hidden" name="sortType" value="${query.sortType}">

            <div class="row">
                <div class="panel-body panel-body2 border-gray-b">
                    <div class="col-md-6">
                        <div class="form-group before-after-none" style="display:table; width:100%;">
                            <label class="col-sm-2 control-label control-label2">行业名称：</label>
                            <div class="col-sm-6">
                                <input class="form-control form-control2" type="text" name="industryName"
                                       value="${query.industryName}" placeholder="请输入行业名称"/>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group before-after-none" style="display:table; width:100%;">
                            <label class="col-sm-2 control-label control-label2">类别名称：</label>
                            <div class="col-sm-6">
                                <input class="form-control form-control2" type="text" name="categoryName"
                                       value="${query.categoryName}" placeholder="请输入类别名称"/>
                            </div>
                        </div>
                    </div>

                    <div class="btn-group2 left">
                        <button type="submit" class="btn btn-primary btn-4-query"><i class="icon icon-chaxun"></i>查询
                        </button>
                    </div>
                </div>
            </div>

        </form>
    </div>


    <div class="panel panel-default">

        <div class="row">
            <div class=" plr20">
                <div class="table-responsive">
                    <table class="table dataTable ">
                        <tbody>
                        <tr>
                            <th width="50">&nbsp;</th>
                            <th><strong>行业名称</strong></th>
                            <th><strong>类别名称</strong></th>
                            <th><strong>排序值</strong></th>
                            <th><strong>操作</strong></th>
                        </tr>
                        <c:forEach items="${paging.items}" var="item" varStatus="status">
                            <tr>
                                <td>${(paging.pageIndex - 1) * paging.pageSize + (status.count)}</td>
                                <td>${item.industryName}</td>
                                <td>${item.categoryName}</td>
                                <td>${item.seq}</td>
                                <td>
                                        <a class="btn-4-modify" data-iid="${item.industryId}" data-cid="${item.categoryId}">修改</a>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                </div>
                <page:page pageIndex="${paging.pageIndex}" pageSize="${paging.pageSize}" count="${paging.count}"/>
            </div>
        </div>

    </div>

    <script src="js/dictionary/industry-category-List.js"></script>
</div>
